import request from '@/utils/request'

// 直播人员列表
export function clientLiveUserList(params) {
  return request({
    url: '/client/live/user/list',
    method: 'get',
    params
  })
}
// 新增主播
export function addClientLiveUser(data) {
  return request({
    url: '/client/live/user',
    method: 'post',
    data
  })
}
// 更新直播人员
export function editClientLiveUser(data) {
    return request({
      url: '/client/live/user',
      method: 'put',
      data
    })
  }
// 查询直播人员详情
export function clientLiveUserDetail(id) {
    return request({
      url: `/client/live/user/detail/${id}`,
      method: 'get'
    })
  }

//查询直播人员下拉框
export function commonV1LiveUserSelect(params) {
    return request({
      url: '/common/v1/live/user/select',
      method: 'get',
      params
    })
  }
